package demo.boot.tests;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Date;
import java.util.List;
import java.util.Map;

@SpringBootApplication
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class);
    }
}
@Getter
@Setter
@NoArgsConstructor
@ConfigurationProperties(prefix = "app")
class AppProp{
    private String id;
    private Date date;
    private Map<String,String> map;
    private List<Integer> list;


}